package com.ibsol.event
{
	import flash.events.Event;

	public class FilterEvent extends Event
	{
		public static const ADD_FILTER:String = "addFilter";
		
		
		public var filterName:String;
		public var filterFunction:Function;
		public var refreshData:Boolean = true;
		
		
		public function FilterEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		public override function clone():Event
		{
			var ev:FilterEvent = new FilterEvent(type,bubbles,cancelable);
			ev.filterName = this.filterName;
			ev.filterFunction = this.filterFunction;
			ev.refreshData = this.refreshData;
			return ev;
		}
		
	}
}